import Foundation

public func TimeTool(_ param : (Any) -> Any,_ array : Any ) -> Void {
  let startTime = CFAbsoluteTimeGetCurrent()
  print("\(param(array))")
  let endTime = CFAbsoluteTimeGetCurrent()
  print("代码执行时长：%f 毫秒", (endTime - startTime)*1000)
}